package com.tkc.redis;

import com.tkc.redis.model.doo.UserData;

/**
 * redis 的insert/delete/update/select 操作入口
 * @author tankaichao
 *
 */
public interface UserDataService {

    public boolean insertUserData(String key, UserData userData);

    public boolean deleteUserData(String key);

    public boolean updateUserData(String key, UserData userData);

    public UserData selectUserData(String key);
    
}
